package com.ktjy.mapper;

import com.ktjy.pojo.MeetinGroom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeetinGroomMapper {

    public List<MeetinGroom> selectMeetinGroom(@Param("name") String name,
                                                @Param("number") Integer number,
                                                @Param("pageBegin") Integer pageBegin,
                                                @Param("pageSize") Integer pageSize);

    public int count(@Param("name") String name,@Param("number") Integer number);

    public int insertMeetinGroom(MeetinGroom meetinGroom);
    public MeetinGroom selectMeetinGroomById(Integer id);

    public int updateMeetinGroom(MeetinGroom meetinGroom);

    public int deleteMeetinGroom(@Param("id") Integer id);
}
